<?php
//This is M framework .Created by 2010-04-13 16:55:53 
//error_reporting(E_ALL ^E_NOTICE);
error_reporting(E_ALL);
ini_set('display_errors','On');
ini_set('log_errors','On');

define('S_ROOT',dirname(__FILE__));
define('DS',DIRECTORY_SEPARATOR);
ini_set('error_log',S_ROOT.DS.'tmp'.DS.'logs'.DS.'error.log');

require S_ROOT.DS."mcore/core.php";

$M = new M();
$M->router = new M_router($M);
$M->template = new M_template($M);

$M->router->loader();

error_log("EveryThing is Ok", 0);
?>
